package com.dhr.tx.orm;

import com.dhr.tx.bean.UserPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @className: UserDao
 * @package: com.tx.orm
 * @author: duanhr@hsyuntai.com
 * @date: 2019/3/7 16:50
 * @copyright: 版权归 HSYUNTAI 所有
 */
@Mapper
public interface UserMapper {

    Integer restInsert(@Param("po") UserPo userPo);

    Integer restUpdate(@Param("po") UserPo userPo);

    UserPo select(@Param("userId") Long userId);
}
